/**
 * Created by Adam on 2017/5/18.
 */
const loginErrorMsg = (state = '', action) => {
    switch (action.type) {
        case 'LOGIN_ERROR':
            return action.msg
        default:
            return state
    }
}

export default loginErrorMsg